<?php if(!defined('HDPHP_PATH'))EXIT;
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('1','0','框架','','hdphp','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','2','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('2','0','CMS','','cms','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','2','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('3','0','前端库','','hdjs','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','2','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('4','1','代码分享','','hdphp/code','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('5','2','代码分享','','cms/code','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('6','0','下载','','xiazai','','','download.html','download.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','2','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('7','3','代码分享','','hdjs/code','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('8','1','BUG反馈','','hdphp/bug','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('9','2','BUG反馈','','cms/bug','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('10','3','BUG反馈','','hdjs/bug','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('11','0','案例','','case','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','2','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('12','11','框架案例','','case/hdphp','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('13','11','CMS案例','','case/cms','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('14','1','话题讨论','','hdphp/news','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('15','2','话题讨论','','cms/news','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('16','3','话题讨论','','hdjs/news','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('17','0','论坛','','bbs','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','3','2','2','http://bbs.houdunwang.com/forum-105-1.html','100','0','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('18','2','插件扩展','','cms/addon','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('19','1','教程文档','','hdphp/help','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('20','2','教程文档','','cms/help','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','1','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('21','0','单文章','','single','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','4','2','2','','100','1','','','0','0','1','1','0','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('22','0','后盾网','','houdunwang','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','3','2','2','http://www.houdunwang.com','100','1','','','0','0','1','1','0','0')");
$db->exe("REPLACE INTO ".$db_prefix."category (`cid`,`pid`,`catname`,`catimage`,`catdir`,`cat_keyworks`,`cat_description`,`index_tpl`,`list_tpl`,`arc_tpl`,`cat_html_url`,`arc_html_url`,`mid`,`cattype`,`arc_url_type`,`cat_url_type`,`cat_redirecturl`,`catorder`,`cat_show`,`cat_seo_title`,`cat_seo_description`,`add_reward`,`show_credits`,`repeat_charge_day`,`allow_user_set_credits`,`member_send_status`,`priv_child`)
						VALUES('23','2','系统更新','','cms/update','','','article_index.html','article_list.html','article_default.html','{catdir}/{page}.html','{catdir}/{y}/{m}{d}/{aid}.html','1','1','2','2','','100','1','','','0','0','1','1','0','0')");
